package com.newbye.windows
{
	import flash.display.NativeWindow;
	import flash.display.NativeWindowInitOptions;
	
	import mx.containers.TitleWindow;
	
	public class NewFile extends NativeWindow
	{
		private static var _instance:NewFile;
		public static function get instance():NewFile
		{
			if(null == _instance)
			{
				_instance = new NewFile();
			}
			return _instance;
		}
		public function NewFile()
		{
			var initOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
			initOptions.maximizable = false;
			initOptions.minimizable = false;
			initOptions.resizable = false;
			
			super(initOptions);
			if(null == _instance)
			{
				_instance = this;
			}
			else
			{
				throw new Error("Sigleton Error");
			}
		}
	}
}